<?python from turbogears import identity
         from mnemoply import model
?>
<span xmlns="http://www.w3.org/1999/xhtml"
    xmlns:py="http://genshi.edgewall.org/">
    <table>
        <thead>
        <tr>
            <th>#</th>
            <th>Topic</th>
            <th>Hours</th>
            <th>Comment</th>
            <th>Actions</th>
        </tr>
        </thead>

        <tbody>
        <tr py:for="child in model.Menu.selectBy(parent=obj).orderBy('ordinal')">
            <td>${child.ordinal}</td>
            <td><a href="/Menu/${child.id}/">${child.title}</a></td>
            <td>
                <span>
                    <a href="up_child?cid=${child.id}"><b>&#8593;&#8593;&#8593;</b></a>
                    <a href="down_child?cid=${child.id}"><b>&#8595;&#8595;&#8595;</b></a>
                </span>
            </td>
        </tr>
        <tr>
            <td />
            <td />
            <td>
            </td>
            <td />
            <td />
        </tr>

        </tbody>
    </table>

    <hr />

</span>

